package com.sicau.smart_farmer.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.UUID;

@ToString
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor

@ApiModel
public class FamilyFarmInfo {

    @ApiModelProperty(value = "id")
    private String id = UUID.randomUUID().toString().replace("-","");
    @ApiModelProperty(value = "是否注册")
    private boolean isRegister;
    @ApiModelProperty(value = "是否示例项目")
    private boolean isExemplaryFarm; //是否示例项目
    @ApiModelProperty(value = "农业类型")
    private String farmType;       //农业类型
    @ApiModelProperty(value = "土地管理规模")
    private String landManagementScale;  //土地管理规模
    @ApiModelProperty(value = "家庭人口")
    private Integer population;      //家庭人口
    @ApiModelProperty(value = "家庭参与人数")
    private Integer engagedNum;    //家庭参与人数
    @ApiModelProperty(value = "上一年家庭收入")
    private Long incomeOfLastYear;   //上一年家庭收入

    public boolean isRegister() {
        return isRegister;
    }

    public boolean isExemplaryFarm() {
        return isExemplaryFarm;
    }
}
